package cn.itcast.domain;

import org.springframework.stereotype.Component;

@Component
public class Tc {

    private String tno;

    private Integer courseno;

    private Integer classno;

    private String data;

    public Tc() {
    }

    public Tc(String tno, Integer courseno, Integer classno, String data) {
        this.tno = tno;
        this.courseno = courseno;
        this.classno = classno;
        this.data = data;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public Integer getCourseno() {
        return courseno;
    }

    public void setCourseno(Integer courseno) {
        this.courseno = courseno;
    }

    public Integer getClassno() {
        return classno;
    }

    public void setClassno(Integer classno) {
        this.classno = classno;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Tc{" +
                "tno='" + tno + '\'' +
                ", courseno=" + courseno +
                ", classno=" + classno +
                ", data='" + data + '\'' +
                '}';
    }
}
